package com.oauth.application.client.rpc;

import java.util.ArrayList;

import com.oauth.application.client.beans.ApplicationClientBean;
import com.google.gwt.user.client.rpc.AsyncCallback;

public interface ApplicationRemoteServiceAsync {

	public void getMyApplications(AsyncCallback<ArrayList<ApplicationClientBean>> callback);

	public void subscribeToApplication(Long pApplicationId, AsyncCallback<String> callback);

	public void unSubscribeFromApplication(Long pApplicationId, AsyncCallback<String> callback);

	public void getUnSubscribedApplications(AsyncCallback<ArrayList<ApplicationClientBean>> callback);

}
